<template>
  <div class="dashboard">
    <h3 style="color: #fff;">这是主页</h3>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import HomeSvg from '@/components/HomeSvg'
export default {
  name: 'Dashboard',
  components: { HomeSvg },
  data() {
    return {}
  },
  computed: {
    ...mapGetters(['name', 'roles']),
    // showRouter() {
    //   if (this.$store.getters.routerList.length > 0) {
    //     return this.$store.getters.routerList[3].name
    //   }
    //   return ''
    // }
  },
}
</script>

<style lang="scss" scoped>
.dashboard {
  height: 100%;
  width: 100%;
}
</style>
